package com.htzos.admin.ac.service;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.htzos.admin.ac.bean.AcMsgreadlogBase;
import com.htzos.admin.ac.dao.AcMsgreadlogBaseMapper;
import com.htzos.common.tool.ExtQueryBean;
@Service
@Transactional(rollbackFor = Exception.class)
public class AcMsgreadlogBaseService {
    @Autowired
    AcMsgreadlogBaseMapper acMsgreadlogBaseMapper;
    @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
    public List<AcMsgreadlogBase> acMsgreadlogBaseList(AcMsgreadlogBase acMsgreadlogBase, ExtQueryBean extQuery){
       return acMsgreadlogBaseMapper.acMsgreadlogBaseList(acMsgreadlogBase, extQuery);
    }

    @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
    public Integer acMsgreadlogBaseTotal(AcMsgreadlogBase acMsgreadlogBase, ExtQueryBean extQuery){
       return acMsgreadlogBaseMapper.acMsgreadlogBaseTotal(acMsgreadlogBase, extQuery);
    }

    @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
    public int acMsgreadlogBaseUpdate(AcMsgreadlogBase acMsgreadlogBase){
       return acMsgreadlogBaseMapper.acMsgreadlogBaseUpdate(acMsgreadlogBase);
    }

    @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
    public int acMsgreadlogBaseInsert(AcMsgreadlogBase acMsgreadlogBase){
       return acMsgreadlogBaseMapper.acMsgreadlogBaseInsert(acMsgreadlogBase);
    }

    @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
    public int acMsgreadlogBaseDelete(AcMsgreadlogBase acMsgreadlogBase){
       return acMsgreadlogBaseMapper.acMsgreadlogBaseDelete(acMsgreadlogBase);
    }

    @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
    public AcMsgreadlogBase acMsgreadlogBaseGet(String id){
       return acMsgreadlogBaseMapper.acMsgreadlogBaseGet(id);
    }
}